/**
 * 功能描述 
 */

define(function (require, exports, module) {
  var Grid = require("grid");

  var instance = {
      initComponent:function (params,widget){      	      	
      	var grid = new Grid({
    	    parentNode: ".J-grid",
    	    model: {
    	    	isInitPageBar: false,
    	    	columns: [{
    		        	name: "personalInfo.name",
    		        	className:"col-md-3",
    		        	label: "姓名"
    		        },{
    		        	name: "personalInfo.sex.value",
    		        	className:"col-md-3",
    		        	label: "性别",
    		        },{
    		        	name:"personalInfo.mobilePhone",
    		        	className:"col-md-3",
    		        	label:"联系电话"
    		        },{
    		        	name: "personalInfo.idNumber",
    		        	className:"col-md-3",
    		        	label: "身份证号",
    		        }]
		    	}
    	  });
      	grid.setTitle("在住人员");
      	widget.set("grid",grid);
      }
  };
  module.exports = instance;
});
